package com.meidaia.java.main.pojo;

public class AIAssistant {
    private int id;
    private String name;
    private String type;
    private double version;
    private boolean status;
    private int score;

    public AIAssistant() {
    }

    public AIAssistant(int id, String name, String type, double version, boolean status, int score) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.version = version;
        this.status = status;
        this.score = score;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return version
     */
    public double getVersion() {
        return version;
    }

    /**
     * 设置
     * @param version
     */
    public void setVersion(double version) {
        this.version = version;
    }

    /**
     * 获取
     * @return status
     */
    public boolean getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(boolean status) {
        this.status = status;
    }

    /**
     * 获取
     * @return score
     */
    public int getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(int score) {
        this.score = score;
    }

    public String toString() {
        return "ID: " + id + ", 名称: " + name + ", 类型: " + type + ", 版本: v" + version + ", 状态: " + (status ? "\uD83D\uDFE2在线" : "❌离线") + ", 能力评分: " + score + " [" + type + "]";
    }
}
